<template>
  <div>
    <div>当前计数器: {{ count }}</div>
    <button @click="() => count++">+</button>
    <button @click="() => count--">-</button>
  </div>
  <div>
    <router-link to="/hello">Hello</router-link>
  </div>
  <div>
    <router-view />
  </div>
</template>

<script lang="ts" setup>
import { ref } from "vue";
const count = ref<number>(0);
</script>
